package com.ruicar.afs.cloud.workflow.api.dto.flowprocess;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * The type WorkFlowCommonResponse
 * <p>Description: </p>
 * 与流程引擎交互，流程引擎响应体
 *
 * @author Fzero
 * @version 1.0
 * @date Created on 2020.07.09 09:40:14
 * @since 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WorkFlowResponse<T> implements Serializable {
    /**
     * Success
     * <p>Description: </p>
     */
    private int success;
    /**
     * Data
     * <p>Description: </p>
     */
    private String data;
    /**
     * Message
     * <p>Description: </p>
     */
    private String message;
    /**
     * Code
     * <p>Description: </p>
     */
    private String code;

    private T afsData;
}
